<script setup lang="ts">
import { onMounted } from 'vue'
import { RouterView } from 'vue-router'
import { useAppStore } from '@/stores/app'

const appStore = useAppStore()

onMounted(() => {
  // 初始化应用
  appStore.initDefaultNotifications()
})
</script>

<template>
  <div id="app">
    <RouterView />
  </div>
</template>

<style lang="scss">
#app {
  height: 100%;
  color: var(--el-text-color-primary);
}
</style>
